import copyText from './common/copyText';
import { hasPermi, hasRoles } from './permission';
// import { loadmore } from './loadmore';
import { scrollLoad } from './personal/scrollLoad';
import { App } from 'vue';

export default (app: App) => {
  app.directive('copyText', copyText);
  app.directive('hasPermi', hasPermi);
  app.directive('hasRoles', hasRoles);
  // app.directive('loadmore', loadmore);
  app.directive('scrollLoad', scrollLoad);
};
